package com.service;

import com.github.pagehelper.PageInfo;
import com.javabean.Product;

import java.util.ArrayList;

public interface ProductManagerService {

    PageInfo<Product> findAll(int page, int limit,String productName);

    Product findById(int id);

    int editProduct(Product product);

    int addProduct(Product product);


    int removeProduct(int id);

    int removeListProduct(ArrayList<Integer> ids);

}
